<% content_for :page_title do %>
  <%= Spree.t(:editing_resource, resource: Spree::Prototype.model_name.human) %>
<% end %>

<% content_for :page_actions do %>
  <%= back_to_list_button(Spree::Prototype.model_name.human, admin_prototypes_path) %>
<% end %>

<%= render :partial => 'spree/admin/shared/error_messages', :locals => { :target => @prototype } %>

<%= form_for [:admin, @prototype] do |f| %>
  <fieldset>
    <%= render :partial => 'form', :locals => { :f => f } %>
    <%= render :partial => 'spree/admin/shared/edit_resource_links' %>
  </fieldset>
<% end %>
